<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>学知题库 - 高中数学</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.8/dist/chart.umd.min.js"></script>
    
    <!-- Tailwind 配置 -->
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#165DFF',
                        secondary: '#36CBCB',
                        accent: '#FF7D00',
                        neutral: '#F5F7FA',
                        'neutral-dark': '#4E5969',
                        success: '#00B42A',
                        warning: '#FF7D00',
                        danger: '#F53F3F',
                    },
                    fontFamily: {
                        inter: ['Inter', 'system-ui', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .scrollbar-hide {
                -ms-overflow-style: none;
                scrollbar-width: none;
            }
            .scrollbar-hide::-webkit-scrollbar {
                display: none;
            }
            .text-shadow {
                text-shadow: 0 2px 4px rgba(0,0,0,0.1);
            }
            .card-hover {
                transition: all 0.3s ease;
            }
            .card-hover:hover {
                transform: translateY(-5px);
            }
            .bg-gradient-primary {
                background: linear-gradient(135deg, #165DFF 0%, #0E42B3 100%);
            }
            .progress-ring-circle {
                transition: stroke-dashoffset 0.35s;
                transform: rotate(-90deg);
                transform-origin: 50% 50%;
            }
            .animate-float {
                animation: float 3s ease-in-out infinite;
            }
            @keyframes float {
                0% { transform: translateY(0px); }
                50% { transform: translateY(-10px); }
                100% { transform: translateY(0px); }
            }
        }
    </style>
</head>
<body class="bg-gray-50 font-inter text-gray-800 min-h-screen flex flex-col">
    <!-- 顶部导航栏 -->
    <header class="bg-white shadow-sm sticky top-0 z-50 transition-all duration-300">
        <div class="container mx-auto px-4 py-3 flex items-center justify-between">
            <div class="flex items-center space-x-2">
                <a href="#" class="flex items-center">
                    <i class="fa fa-graduation-cap text-primary text-2xl mr-2"></i>
                    <h1 class="text-xl font-bold text-gray-800">学知题库</h1>
                </a>
            </div>
            
            <div class="hidden md:flex items-center space-x-6">
                <a href="#" class="text-gray-600 hover:text-primary transition-colors">首页</a>
                <a href="#" class="text-primary font-medium border-b-2 border-primary pb-1">题库</a>
                <a href="#" class="text-gray-600 hover:text-primary transition-colors">学习路径</a>
                <a href="#" class="text-gray-600 hover:text-primary transition-colors">模拟考试</a>
                <a href="#" class="text-gray-600 hover:text-primary transition-colors">关于我们</a>
            </div>
            
            <div class="flex items-center space-x-4">
                <div class="relative w-full md:w-64">
                    <input type="text" placeholder="搜索题目、知识点..." 
                           class="pl-10 pr-4 py-2 rounded-full bg-gray-100 focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all w-full">
                    <i class="fa fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
                </div>
                
                <div class="flex items-center space-x-2">
                    <button class="hidden md:flex items-center justify-center w-10 h-10 rounded-full bg-gray-100 hover:bg-gray-200 transition-colors">
                        <i class="fa fa-bell-o"></i>
                    </button>
                    <div class="relative">
                        <button class="flex items-center space-x-2">
                            <img src="https://picsum.photos/id/64/40/40" alt="用户头像" class="w-8 h-8 rounded-full border-2 border-primary">
                            <span class="hidden md:inline font-medium">张同学</span>
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </header>

    <!-- 学科头部 -->
    <section class="bg-gradient-to-r from-blue-500 to-indigo-600 text-white py-8 md:py-12">
        <div class="container mx-auto px-4">
            <div class="flex flex-col md:flex-row items-center justify-between">
                <div class="mb-4 md:mb-0">
                    <div class="flex items-center mb-2">
                        <div class="w-12 h-12 rounded-full bg-white/20 flex items-center justify-center mr-3">
                            <i class="fa fa-calculator text-2xl"></i>
                        </div>
                        <h1 class="text-2xl md:text-3xl font-bold">高中数学</h1>
                    </div>
                    <p class="text-white/80">集合与函数、三角函数、数列、立体几何、概率统计等知识点</p>
                </div>
                
                <div class="flex space-x-3">
                    <button class="px-4 py-2 bg-white/10 hover:bg-white/20 transition-colors rounded-lg flex items-center">
                        <i class="fa fa-bookmark-o mr-2"></i> 收藏学科
                    </button>
                    <button class="px-4 py-2 bg-white text-primary hover:bg-gray-100 transition-colors rounded-lg flex items-center">
                        <i class="fa fa-play-circle-o mr-2"></i> 开始学习
                    </button>
                </div>
            </div>
        </div>
    </section>

    <!-- 筛选工具栏 -->
    <section class="bg-white shadow-sm sticky top-16 z-40">
        <div class="container mx-auto px-4 py-4">
            <div class="flex flex-col md:flex-row gap-4">
                <!-- 版本筛选 -->
                <div class="relative flex-1">
                    <select class="appearance-none w-full pl-4 pr-10 py-2 bg-gray-100 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/20">
                        <option value="">选择教材版本</option>
                        <option value="pep">人教版</option>
                        <option value="js">苏教版</option>
                        <option value="bj">北师大版</option>
                        <option value="hunan">湘教版</option>
                        <option value="shenban">沪教版</option>
                    </select>
                    <i class="fa fa-chevron-down absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 pointer-events-none"></i>
                </div>
                
                <!-- 章节筛选 -->
                <div class="relative flex-1">
                    <select class="appearance-none w-full pl-4 pr-10 py-2 bg-gray-100 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/20">
                        <option value="">选择章节</option>
                        <option value="chapter1">第一章 集合与函数概念</option>
                        <option value="chapter2">第二章 基本初等函数</option>
                        <option value="chapter3">第三章 函数的应用</option>
                        <option value="chapter4">第四章 三角函数</option>
                        <option value="chapter5">第五章 平面向量</option>
                    </select>
                    <i class="fa fa-chevron-down absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 pointer-events-none"></i>
                </div>
                
                <!-- 知识点筛选 -->
                <div class="relative flex-1">
                    <select class="appearance-none w-full pl-4 pr-10 py-2 bg-gray-100 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/20">
                        <option value="">选择知识点</option>
                        <option value="knowledge1">集合的含义与表示</option>
                        <option value="knowledge2">函数及其表示</option>
                        <option value="knowledge3">函数的基本性质</option>
                        <option value="knowledge4">指数函数</option>
                        <option value="knowledge5">对数函数</option>
                    </select>
                    <i class="fa fa-chevron-down absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 pointer-events-none"></i>
                </div>
                
                <!-- 难度筛选 -->
                <div class="relative flex-1">
                    <select class="appearance-none w-full pl-4 pr-10 py-2 bg-gray-100 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/20">
                        <option value="">选择难度</option>
                        <option value="easy">容易</option>
                        <option value="medium">中等</option>
                        <option value="hard">困难</option>
                    </select>
                    <i class="fa fa-chevron-down absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 pointer-events-none"></i>
                </div>
                
                <!-- 排序方式 -->
                <div class="relative flex-1">
                    <select class="appearance-none w-full pl-4 pr-10 py-2 bg-gray-100 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/20">
                        <option value="newest">最新上传</option>
                        <option value="popular">最受欢迎</option>
                        <option value="difficulty">难度从高到低</option>
                        <option value="easy">难度从低到高</option>
                    </select>
                    <i class="fa fa-chevron-down absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 pointer-events-none"></i>
                </div>
            </div>
        </div>
    </section>

    <!-- 主内容区 -->
    <main class="flex-1 overflow-y-auto bg-gray-50 py-8">
        <div class="container mx-auto px-4">
            <div class="flex flex-col md:flex-row gap-6">
                <!-- 左侧边栏 - 章节导航 -->
                <div class="w-full md:w-64 flex-shrink-0">
                    <div class="bg-white rounded-xl shadow-sm p-4 sticky top-[calc(160px+1rem)]">
                        <h3 class="font-bold text-lg mb-4 flex items-center">
                            <i class="fa fa-list-ul text-primary mr-2"></i> 章节导航
                        </h3>
                        
                        <div class="space-y-1">
                            <div class="mb-2">
                                <button class="w-full flex items-center justify-between py-2 px-3 bg-blue-50 text-primary rounded-lg">
                                    <span class="font-medium">必修一</span>
                                    <i class="fa fa-chevron-down"></i>
                                </button>
                                
                                <div class="pl-4 mt-2 space-y-1">
                                    <a href="#" class="block py-2 px-3 rounded-lg hover:bg-gray-100 text-sm">
                                        第一章 集合与函数概念
                                    </a>
                                    <a href="#" class="block py-2 px-3 bg-gray-100 rounded-lg text-sm font-medium">
                                        第二章 基本初等函数
                                    </a>
                                    <a href="#" class="block py-2 px-3 rounded-lg hover:bg-gray-100 text-sm">
                                        第三章 函数的应用
                                    </a>
                                </div>
                            </div>
                            
                            <div class="mb-2">
                                <button class="w-full flex items-center justify-between py-2 px-3 hover:bg-gray-100 rounded-lg">
                                    <span>必修二</span>
                                    <i class="fa fa-chevron-right"></i>
                                </button>
                            </div>
                            
                            <div class="mb-2">
                                <button class="w-full flex items-center justify-between py-2 px-3 hover:bg-gray-100 rounded-lg">
                                    <span>必修三</span>
                                    <i class="fa fa-chevron-right"></i>
                                </button>
                            </div>
                            
                            <div class="mb-2">
                                <button class="w-full flex items-center justify-between py-2 px-3 hover:bg-gray-100 rounded-lg">
                                    <span>必修四</span>
                                    <i class="fa fa-chevron-right"></i>
                                </button>
                            </div>
                            
                            <div class="mb-2">
                                <button class="w-full flex items-center justify-between py-2 px-3 hover:bg-gray-100 rounded-lg">
                                    <span>必修五</span>
                                    <i class="fa fa-chevron-right"></i>
                                </button>
                            </div>
                            
                            <div class="mb-2">
                                <button class="w-full flex items-center justify-between py-2 px-3 hover:bg-gray-100 rounded-lg">
                                    <span>选修</span>
                                    <i class="fa fa-chevron-right"></i>
                                </button>
                            </div>
                        </div>
                        
                        <div class="mt-6 pt-6 border-t">
                            <h4 class="font-medium mb-3">学习进度</h4>
                            <div class="flex items-center justify-between mb-2">
                                <span class="text-sm">总体进度</span>
                                <span class="text-sm font-medium">45%</span>
                            </div>
                            <div class="w-full bg-gray-200 rounded-full h-2.5 mb-4">
                                <div class="bg-primary h-2.5 rounded-full" style="width: 45%"></div>
                            </div>
                            
                            <div class="flex items-center justify-between mb-2">
                                <span class="text-sm">必修一</span>
                                <span class="text-sm font-medium">68%</span>
                            </div>
                            <div class="w-full bg-gray-200 rounded-full h-2.5 mb-4">
                                <div class="bg-primary h-2.5 rounded-full" style="width: 68%"></div>
                            </div>
                            
                            <div class="flex items-center justify-between mb-2">
                                <span class="text-sm">必修二</span>
                                <span class="text-sm font-medium">23%</span>
                            </div>
                            <div class="w-full bg-gray-200 rounded-full h-2.5">
                                <div class="bg-primary h-2.5 rounded-full" style="width: 23%"></div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 右侧内容区 - 题目列表 -->
                <div class="flex-1">
                    <div class="bg-white rounded-xl shadow-sm p-6 mb-6">
                        <div class="flex items-center justify-between mb-4">
                            <h2 class="text-xl font-bold">第二章 基本初等函数</h2>
                            <div class="flex items-center">
                                <span class="text-sm text-gray-500 mr-2">共128道题</span>
                                <button class="text-primary hover:text-primary/80 flex items-center">
                                    <i class="fa fa-filter mr-1"></i> 筛选
                                </button>
                            </div>
                        </div>
                        
                        <div class="space-y-4">
                            <!-- 题目卡片 -->
                            <div class="border border-gray-200 rounded-lg p-4 hover:shadow-md transition-shadow">
                                <div class="flex items-center mb-3">
                                    <span class="px-2 py-1 bg-blue-100 text-blue-600 rounded text-xs mr-2">数学</span>
                                    <span class="px-2 py-1 bg-purple-100 text-purple-600 rounded text-xs">必修一</span>
                                    <span class="px-2 py-1 bg-green-100 text-green-600 rounded text-xs">第二章</span>
                                    <div class="ml-auto flex items-center">
                                        <div class="flex items-center mr-2">
                                            <i class="fa fa-star text-yellow-400 text-xs"></i>
                                            <i class="fa fa-star text-yellow-400 text-xs"></i>
                                            <i class="fa fa-star text-yellow-400 text-xs"></i>
                                            <i class="fa fa-star-o text-gray-300 text-xs"></i>
                                            <i class="fa fa-star-o text-gray-300 text-xs"></i>
                                        </div>
                                        <span class="text-xs text-gray-500">中等</span>
                                    </div>
                                </div>
                                
                                <h3 class="font-medium mb-3">已知函数\(f(x) = 2^x\)，求\(f(3)\)的值，并判断函数的单调性。</h3>
                                
                                <div class="flex flex-wrap gap-2 mb-3">
                                    <span class="px-2 py-1 bg-gray-100 text-gray-600 rounded text-xs">指数函数</span>
                                    <span class="px-2 py-1 bg-gray-100 text-gray-600 rounded text-xs">函数值计算</span>
                                    <span class="px-2 py-1 bg-gray-100 text-gray-600 rounded text-xs">单调性</span>
                                </div>
                                
                                <div class="flex items-center justify-between text-sm text-gray-500">
                                    <div class="flex items-center">
                                        <img src="https://picsum.photos/id/64/30/30" alt="用户头像" class="w-6 h-6 rounded-full mr-2">
                                        <span>张老师</span>
                                    </div>
                                    <div class="flex space-x-4">
                                        <button class="text-gray-500 hover:text-primary flex items-center">
                                            <i class="fa fa-eye mr-1"></i> 156
                                        </button>
                                        <button class="text-gray-500 hover:text-primary flex items-center">
                                            <i class="fa fa-comment-o mr-1"></i> 18
                                        </button>
                                        <button class="text-gray-500 hover:text-primary flex items-center">
                                            <i class="fa fa-heart-o mr-1"></i> 32
                                        </button>
                                        <button class="text-gray-500 hover:text-primary flex items-center">
                                            <i class="fa fa-bookmark-o mr-1"></i> 收藏
                                        </button>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="border border-gray-200 rounded-lg p-4 hover:shadow-md transition-shadow">
                                <div class="flex items-center mb-3">
                                    <span class="px-2 py-1 bg-blue-100 text-blue-600 rounded text-xs mr-2">数学</span>
                                    <span class="px-2 py-1 bg-purple-100 text-purple-600 rounded text-xs">必修一</span>
                                    <span class="px-2 py-1 bg-green-100 text-green-600 rounded text-xs">第二章</span>
                                    <div class="ml-auto flex items-center">
                                        <div class="flex items-center mr-2">
                                            <i class="fa fa-star text-yellow-400 text-xs"></i>
                                            <i class="fa fa-star text-yellow-400 text-xs"></i>
                                            <i class="fa fa-star text-yellow-400 text-xs"></i>
                                            <i class="fa fa-star text-yellow-400 text-xs"></i>
                                            <i class="fa fa-star-o text-gray-300 text-xs"></i>
                                        </div>
                                        <span class="text-xs text-gray-500">较难</span>
                                    </div>
                                </div>
                                
                                <h3 class="font-medium mb-3">已知函数\(f(x) = \log_2(x+1)\)，求其定义域和值域，并画出函数图像的示意图。</h3>
                                
                                <div class="flex flex-wrap gap-2 mb-3">
                                    <span class="px-2 py-1 bg-gray-100 text-gray-600 rounded text-xs">对数函数</span>
                                    <span class="px-2 py-1 bg-gray-100 text-gray-600 rounded text-xs">定义域</span>
                                    <span class="px-2 py-1 bg-gray-100 text-gray-600 rounded text-xs">值域</span>
                                    <span class="px-2 py-1 bg-gray-100 text-gray-600 rounded text-xs">函数图像</span>
                                </div>
                                
                                <div class="flex items-center justify-between text-sm text-gray-500">
                                    <div class="flex items-center">
                                        <img src="https://picsum.photos/id/91/30/30" alt="用户头像" class="w-6 h-6 rounded-full mr-2">
                                        <span>李老师</span>
                                    </div>
                                    <div class="flex space-x-4">
                                        <button class="text-gray-500 hover:text-primary flex items-center">
                                            <i class="fa fa-eye mr-1"></i> 128
                                        </button>
                                        <button class="text-gray-500 hover:text-primary flex items-center">
                                            <i class="fa fa-comment-o mr-1"></i> 24
                                        </button>
                                        <button class="text-gray-500 hover:text-primary flex items-center">
                                            <i class="fa fa-heart-o mr-1"></i> 42
                                        </button>
                                        <button class="text-gray-500 hover:text-primary flex items-center">
                                            <i class="fa fa-bookmark-o mr-1"></i> 收藏
                                        </button>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="border border-gray-200 rounded-lg p-4 hover:shadow-md transition-shadow">
                                <div class="flex items-center mb-3">
                                    <span class="px-2 py-1 bg-blue-100 text-blue-600 rounded text-xs mr-2">数学</span>
                                    <span class="px-2 py-1 bg-purple-100 text-purple-600 rounded text-xs">必修一</span>
                                    <span class="px-2 py-1 bg-green-100 text-green-600 rounded text-xs">第二章</span>
                                    <div class="ml-auto flex items-center">
                                        <div class="flex items-center mr-2">
                                            <i class="fa fa-star text-yellow-400 text-xs"></i>
                                            <i class="fa fa-star-o text-gray-300 text-xs"></i>
                                            <i class="fa fa-star-o text-gray-300 text-xs"></i>
                                            <i class="fa fa-star-o text-gray-300 text-xs"></i>
                                            <i class="fa fa-star-o text-gray-300 text-xs"></i>
                                        </div>
                                        <span class="text-xs text-gray-500">容易</span>
                                    </div>
                                </div>
                                
                                <h3 class="font-medium mb-3">比较下列各组数的大小：(1) \(3^{0.2}\) 和 \(3^{0.3}\)；(2) \(\log_2 3\) 和 \(\log_2 5\)。</h3>
                                
                                <div class="flex flex-wrap gap-2 mb-3">
                                    <span class="px-2 py-1 bg-gray-100 text-gray-600 rounded text-xs">指数函数</span>
                                    <span class="px-2 py-1 bg-gray-100 text-gray-600 rounded text-xs">对数函数</span>
                                    <span class="px-2 py-1 bg-gray-100 text-gray-600 rounded text-xs">数值比较</span>
                                </div>
                                
                                <div class="flex items-center justify-between text-sm text-gray-500">
                                    <div class="flex items-center">
                                        <img src="https://picsum.photos/id/65/30/30" alt="用户头像" class="w-6 h-6 rounded-full mr-2">
                                        <span>王老师</span>
                                    </div>
                                    <div class="flex space-x-4">
                                        <button class="text-gray-500 hover:text-primary flex items-center">
                                            <i class="fa fa-eye mr-1"></i> 98
                                        </button>
                                        <button class="text-gray-500 hover:text-primary flex items-center">
                                            <i class="fa fa-comment-o mr-1"></i> 12
                                        </button>
                                        <button class="text-gray-500 hover:text-primary flex items-center">
                                            <i class="fa fa-heart-o mr-1"></i> 28
                                        </button>
                                        <button class="text-gray-500 hover:text-primary flex items-center">
                                            <i class="fa fa-bookmark-o mr-1"></i> 收藏
                                        </button>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="border border-gray-200 rounded-lg p-4 hover:shadow-md transition-shadow">
                                <div class="flex items-center mb-3">
                                    <span class="px-2 py-1 bg-blue-100 text-blue-600 rounded text-xs mr-2">数学</span>
                                    <span class="px-2 py-1 bg-purple-100 text-purple-600 rounded text-xs">必修一</span>
                                    <span class="px-2 py-1 bg-green-100 text-green-600 rounded text-xs">第二章</span>
                                    <div class="ml-auto flex items-center">
                                        <div class="flex items-center mr-2">
                                            <i class="fa fa-star text-yellow-400 text-xs"></i>
                                            <i class="fa fa-star text-yellow-400 text-xs"></i>
                                            <i class="fa fa-star text-yellow-400 text-xs"></i>
                                            <i class="fa fa-star-o text-gray-300 text-xs"></i>
                                            <i class="fa fa-star-o text-gray-300 text-xs"></i>
                                        </div>
                                        <span class="text-xs text-gray-500">中等</span>
                                    </div>
                                </div>
                                
                                <h3 class="font-medium mb-3">已知函数\(f(x) = a^x\)（\(a > 0\)且\(a \neq 1\)）的图像经过点\((2, 9)\)，求\(a\)的值，并求\(f(3)\)的值。</h3>
                                
                                <div class="flex flex-wrap gap-2 mb-3">
                                    <span class="px-2 py-1 bg-gray-100 text-gray-600 rounded text-xs">指数函数</span>
                                    <span class="px-2 py-1 bg-gray-100 text-gray-600 rounded text-xs">待定系数</span>
                                    <span class="px-2 py-1 bg-gray-100 text-gray-600 rounded text-xs">函数值计算</span>
                                </div>
                                
                                <div class="flex items-center justify-between text-sm text-gray-500">
                                    <div class="flex items-center">
                                        <img src="https://picsum.photos/id/64/30/30" alt="用户头像" class="w-6 h-6 rounded-full mr-2">
                                        <span>张老师</span>
                                    </div>
                                    <div class="flex space-x-4">
                                        <button class="text-gray-500 hover:text-primary flex items-center">
                                            <i class="fa fa-eye mr-1"></i> 112
                                        </button>
                                        <button class="text-gray-500 hover:text-primary flex items-center">
                                            <i class="fa fa-comment-o mr-1"></i> 16
                                        </button>
                                        <button class="text-gray-500 hover:text-primary flex items-center">
                                            <i class="fa fa-heart-o mr-1"></i> 36
                                        </button>
                                        <button class="text-gray-500 hover:text-primary flex items-center">
                                            <i class="fa fa-bookmark-o mr-1"></i> 收藏
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 分页 -->
                        <div class="mt-8 flex justify-center">
                            <nav class="inline-flex rounded-md shadow-sm" aria-label="Pagination">
                                <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
                                    <span class="sr-only">上一页</span>
                                    <i class="fa fa-chevron-left"></i>
                                </a>
                                <a href="#" aria-current="page" class="z-10 bg-primary text-white relative inline-flex items-center px-4 py-2 border border-primary text-sm font-medium">1</a>
                                <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium">2</a>
                                <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium">3</a>
                                <span class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700">...</span>
                                <a href="#" class="bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium">12</a>
                                <a href="#" class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
                                    <span class="sr-only">下一页</span>
                                    <i class="fa fa-chevron-right"></i>
                                </a>
                            </nav>
                        </div>
                    </div>
                    
                    <!-- 学习资料推荐 -->
                    <div class="bg-white rounded-xl shadow-sm p-6">
                        <h2 class="text-xl font-bold mb-4">推荐学习资料</h2>
                        
                        <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                            <div class="border border-gray-200 rounded-lg p-4 hover:shadow-md transition-shadow">
                                <div class="flex items-center mb-3">
                                    <div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center mr-3">
                                        <i class="fa fa-file-pdf-o text-blue-600"></i>
                                    </div>
                                    <h3 class="font-medium">指数函数与对数函数知识点总结</h3>
                                </div>
                                <p class="text-sm text-gray-600 mb-3">详细总结了指数函数和对数函数的定义、性质、图像和运算规则</p>
                                <div class="flex items-center justify-between text-xs text-gray-500">
                                    <span>1.2MB</span>
                                    <button class="text-primary hover:text-primary/80 flex items-center">
                                        <i class="fa fa-download mr-1"></i> 下载
                                    </button>
                                </div>
                            </div>
                            
                            <div class="border border-gray-200 rounded-lg p-4 hover:shadow-md transition-shadow">
                                <div class="flex items-center mb-3">
                                    <div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center mr-3">
                                        <i class="fa fa-play-circle-o text-green-600"></i>
                                    </div>
                                    <h3 class="font-medium">指数函数与对数函数解题技巧</h3>
                                </div>
                                <p class="text-sm text-gray-600 mb-3">通过典型例题，讲解指数函数和对数函数的解题思路和技巧</p>
                                <div class="flex items-center justify-between text-xs text-gray-500">
                                    <span>45分钟</span>
                                    <button class="text-primary hover:text-primary/80 flex items-center">
                                        <i class="fa fa-play mr-1"></i> 观看
                                    </button>
                                </div>
                            </div>
                            
                            <div class="border border-gray-200 rounded-lg p-4 hover:shadow-md transition-shadow">
                                <div class="flex items-center mb-3">
                                    <div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center mr-3">
                                        <i class="fa fa-file-text-o text-purple-600"></i>
                                    </div>
                                    <h3 class="font-medium">指数函数与对数函数练习题集</h3>
                                </div>
                                <p class="text-sm text-gray-600 mb-3">包含100道精选练习题，附详细答案和解析</p>
                                <div class="flex items-center justify-between text-xs text-gray-500">
                                    <span>2.5MB</span>
                                    <button class="text-primary hover:text-primary/80 flex items-center">
                                        <i class="fa fa-download mr-1"></i> 下载
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 学习进度统计 -->
                    <div class="bg-white rounded-xl shadow-sm p-6 mt-6">
                        <h2 class="text-xl font-bold mb-4">学习进度统计</h2>
                        
                        <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                            <div>
                                <h3 class="text-lg font-medium mb-3">章节完成情况</h3>
                                <div class="h-64">
                                    <canvas id="chapterChart"></canvas>
                                </div>
                            </div>
                            
                            <div>
                                <h3 class="text-lg font-medium mb-3">题目正确率</h3>
                                <div class="h-64">
                                    <canvas id="accuracyChart"></canvas>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <!-- 页脚 -->
    <footer class="bg-white border-t border-gray-200 mt-8">
        <div class="container mx-auto px-4 py-8">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
                <div>
                    <div class="flex items-center mb-4">
                        <i class="fa fa-graduation-cap text-primary text-2xl mr-2"></i>
                        <h2 class="text-xl font-bold text-gray-800">学知题库</h2>
                    </div>
                    <p class="text-gray-600 mb-4">提供高质量的中小学题库资源，助力学生高效学习</p>
                    <div class="flex space-x-4">
                        <a href="#" class="text-gray-400 hover:text-primary transition-colors">
                            <i class="fa fa-weibo"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-primary transition-colors">
                            <i class="fa fa-wechat"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-primary transition-colors">
                            <i class="fa fa-qq"></i>
                        </a>
                    </div>
                </div>
                
                <div>
                    <h3 class="font-bold text-gray-800 mb-4">学科资源</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-600 hover:text-primary transition-colors">高中数学</a></li>
                        <li><a href="#" class="text-gray-600 hover:text-primary transition-colors">高中物理</a></li>
                        <li><a href="#" class="text-gray-600 hover:text-primary transition-colors">高中化学</a></li>
                        <li><a href="#" class="text-gray-600 hover:text-primary transition-colors">高中生物</a></li>
                        <li><a href="#" class="text-gray-600 hover:text-primary transition-colors">高中英语</a></li>
                    </ul>
                </div>
                
                <div>
                    <h3 class="font-bold text-gray-800 mb-4">帮助中心</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-600 hover:text-primary transition-colors">使用指南</a></li>
                        <li><a href="#" class="text-gray-600 hover:text-primary transition-colors">常见问题</a></li>
                        <li><a href="#" class="text-gray-600 hover:text-primary transition-colors">意见反馈</a></li>
                        <li><a href="#" class="text-gray-600 hover:text-primary transition-colors">联系我们</a></li>
                    </ul>
                </div>
                
                <div>
                    <h3 class="font-bold text-gray-800 mb-4">关于我们</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-600 hover:text-primary transition-colors">公司介绍</a></li>
                        <li><a href="#" class="text-gray-600 hover:text-primary transition-colors">加入我们</a></li>
                        <li><a href="#" class="text-gray-600 hover:text-primary transition-colors">隐私政策</a></li>
                        <li><a href="#" class="text-gray-600 hover:text-primary transition-colors">服务条款</a></li>
                    </ul>
                </div>
            </div>
            
            <div class="border-t border-gray-200 mt-8 pt-8 flex flex-col md:flex-row justify-between items-center">
                <p class="text-gray-600 text-sm">© 2025 学知题库. 保留所有权利.</p>
                <div class="flex space-x-4 mt-4 md:mt-0">
                    <a href="#" class="text-gray-600 hover:text-primary text-sm transition-colors">隐私政策</a>
                    <a href="#" class="text-gray-600 hover:text-primary text-sm transition-colors">服务条款</a>
                    <a href="#" class="text-gray-600 hover:text-primary text-sm transition-colors">Cookie 政策</a>
                </div>
            </div>
        </div>
    </footer>

    <!-- 数学公式渲染 -->
    <script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
    
    <!-- 图表渲染 -->
    <script>
        // 章节完成情况图表
        const chapterCtx = document.getElementById('chapterChart').getContext('2d');
        new Chart(chapterCtx, {
            type: 'bar',
            data: {
                labels: ['第一章', '第二章', '第三章', '第四章', '第五章'],
                datasets: [{
                    label: '完成率',
                    data: [75, 45, 30, 10, 5],
                    backgroundColor: [
                        'rgba(22, 93, 255, 0.7)',
                        'rgba(22, 93, 255, 0.7)',
                        'rgba(22, 93, 255, 0.7)',
                        'rgba(22, 93, 255, 0.4)',
                        'rgba(22, 93, 255, 0.4)'
                    ],
                    borderColor: [
                        'rgba(22, 93, 255, 1)',
                        'rgba(22, 93, 255, 1)',
                        'rgba(22, 93, 255, 1)',
                        'rgba(22, 93, 255, 1)',
                        'rgba(22, 93, 255, 1)'
                    ],
                    borderWidth: 1
                }]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                scales: {
                    y: {
                        beginAtZero: true,
                        max: 100,
                        ticks: {
                            callback: function(value) {
                                return value + '%';
                            }
                        }
                    }
                },
                plugins: {
                    legend: {
                        display: false
                    }
                }
            }
        });
        
        // 题目正确率图表
        const accuracyCtx = document.getElementById('accuracyChart').getContext('2d');
        new Chart(accuracyCtx, {
            type: 'line',
            data: {
                labels: ['第一周', '第二周', '第三周', '第四周', '第五周', '第六周'],
                datasets: [{
                    label: '正确率',
                    data: [55, 62, 68, 72, 78, 82],
                    backgroundColor: 'rgba(22, 93, 255, 0.2)',
                    borderColor: 'rgba(22, 93, 255, 1)',
                    borderWidth: 2,
                    tension: 0.3,
                    fill: true
                }]
            },
            options: {
                responsive: true,
                maintainAspectRatio: false,
                scales: {
                    y: {
                        beginAtZero: true,
                        max: 100,
                        ticks: {
                            callback: function(value) {
                                return value + '%';
                            }
                        }
                    }
                },
                plugins: {
                    legend: {
                        display: false
                    }
                }
            }
        });
    </script>
    
    <!-- 导航栏滚动效果 -->
    <script>
        window.addEventListener('scroll', function() {
            const header = document.querySelector('header');
            if (window.scrollY > 50) {
                header.classList.add('py-2');
                header.classList.remove('py-3');
                header.classList.add('shadow');
            } else {
                header.classList.add('py-3');
                header.classList.remove('py-2');
                header.classList.remove('shadow');
            }
        });
    </script>
</body>
</html>    